package com.peppa.petshop.vo;

import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @author SongTiantian
 * @create 2021-06-19-19:25
 */
@Data
public class DataVO<T> implements Serializable {
    private Integer code;
    private String msg;
    private Integer count;
    private List<T> data;

    public DataVO()  {
    }

    public DataVO(Integer code, String msg, Integer count, List<T> data) {
        this.code = code;
        this.msg = msg;
        this.count = count;
        this.data = data;
    }
}
